package dongshi.daddy.huohuo.lombok;

public class LombokMain {
    public static void main(String[] args) {
        LombokBean lombokBean = new LombokBean(90, "遇到流氓怎么办？");
        System.out.println("toString展示内容：");
        System.out.println(lombokBean);
        System.out.println("读方法获取信息：");
        System.out.println(lombokBean.getAge() + "  " + lombokBean.getName());
        System.out.println("测试slf4j log");
        lombokBean.logMe();

        System.out.println("测试构造器Builder");
        // 测试构造器
        LombokBean lombokBean1 = LombokBean.builder().age(87).name("去三里屯拿乒乓球拍子").build();
        System.out.println(lombokBean1);
    }
}
